package me.zingon.wxbus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import me.zingon.wxbus.model.Line;
import me.zingon.wxbus.model.Station;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StationDao extends BaseMapper<Station> {
    List<Station> listByLine(Line line);

    List<String> listBusNameByLine(Line line);

    List<Map<String,Object>> listByBusname(@Param("segmentId") String segmentId,@Param("busName")String busName);
}
